<script>
export default {
  props: {
    userAccount: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
}
</script>

<template>
  <div>
    <div style="display: inline-block;width: 50px">
      <el-image
          :src="$kt.file.visit(userAccount.fileIdOfAvatar)"
          style="width: 50px;height: 50px;border-radius: 50%;"
      ></el-image>
    </div>
    <div style="display: inline-block;width: calc(100% - 70px);margin-left: 10px;vertical-align: top;font-size: 12px">
      <div style="height: 5px"></div>
      <div>{{ $i18n.zhToGlobal('昵称') }}：{{ userAccount.nickname }}</div>
      <div style="height: 5px"></div>
      <div>{{ $i18n.zhToGlobal('邮箱') }}：{{ userAccount.email }}</div>
    </div>
  </div>

</template>

<style scoped lang="scss">

</style>